package com.onejson.ojmall.model.form;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 用户表 前端批量参数表
 *
 * @author wxx
 */
@Data
public class UserBatchForm {


    @TableId(value = "id")

    @Schema(description = "主键")
    private String id;

    @Schema(description = "登录帐号")
    private String loginName;

    @Schema(description = "登录密码")
    private String loginPwd;

    @Schema(description = "真实姓名")
    private String actualName;

    @Schema(description = "性别")
    private Integer gender;

    @Schema(description = "手机号码")
    private String phone;

    @Schema(description = "部门id")
    private Integer departmentId;

    @Schema(description = "是否被禁用 0否1是")
    private Integer disabledFlag;

    @Schema(description = "是否删除0否 1是")
    private Integer deletedFlag;

    @Schema(description = "是否为超级管理员: 0 不是，1是")
    private Integer administratorFlag;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;


    @Schema(description = "已选申请列表")
    private List<UserForm> userFormList;

}

